package com.ruoyi.purchase.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Date;
import java.util.List;

public class MaterialReceiveVO {
    /** 收料通知单ID */
    private Long id;

    /** 收料通知单号 */
    private String receiveId;

    /** 采购订单号 */
    private String poId;

    /** 送货单号 */
    private String deliveryId;

    /** 收料日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private java.util.Date receiveDate;

    /** 收料人 */
    private String receiver;

    /** 总箱数 */
    private Long totalBoxes;

    /** 总数量 */
    private Long totalQuantity;

    /** 备注 */
    private String remark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;

    /** 创建人 */
    private String createdPerson;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatedAt;

    /** 收料清单汇总 */
    private List<MaterialReceiveItemVO> receiveItems;

    /** 箱码列表 */
    private List<BoxCodesVO> boxCodes;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getPoId() {
        return poId;
    }

    public void setPoId(String poId) {
        this.poId = poId;
    }

    public String getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(String deliveryId) {
        this.deliveryId = deliveryId;
    }

    public java.util.Date getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(java.util.Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Long getTotalBoxes() {
        return totalBoxes;
    }

    public void setTotalBoxes(Long totalBoxes) {
        this.totalBoxes = totalBoxes;
    }

    public Long getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Long totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getCreatedPerson() {
        return createdPerson;
    }

    public void setCreatedPerson(String createdPerson) {
        this.createdPerson = createdPerson;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public List<MaterialReceiveItemVO> getReceiveItems() {
        return receiveItems;
    }

    public void setReceiveItems(List<MaterialReceiveItemVO> receiveItems) {
        this.receiveItems = receiveItems;
    }

    public List<BoxCodesVO> getBoxCodes() {
        return boxCodes;
    }

    public void setBoxCodes(List<BoxCodesVO> boxCodes) {
        this.boxCodes = boxCodes;
    }

    @Override
    public String toString() {
        return "MaterialReceiveVO{" +
                "id=" + id +
                ", receiveId='" + receiveId + '\'' +
                ", poId='" + poId + '\'' +
                ", deliveryId='" + deliveryId + '\'' +
                ", receiveDate=" + receiveDate +
                ", receiver='" + receiver + '\'' +
                ", totalBoxes=" + totalBoxes +
                ", totalQuantity=" + totalQuantity +
                ", remark='" + remark + '\'' +
                ", createdAt=" + createdAt +
                ", createdPerson='" + createdPerson + '\'' +
                ", updatedAt=" + updatedAt +
                ", receiveItems=" + receiveItems +
                ", boxCodes=" + boxCodes +
                '}';
    }
}
